# -*- coding: utf-8 -*-
"""
Created on Thu Jan 24 18:43:15 2013

@author: daniel
"""
import aerodynamics
import thrust
import mass
import performance
import drag
class analysis:
    """
    Wraps all aircraft analysis modules
    """
    def __init__(self,aircraft):
        self.aerodynamics     =aerodynamics.aerodynamics(aircraft)
        self.thrust           =thrust.thrustAnalysis(aircraft)
#        self.mass             =mass.generalAviationMass(aircraft)
        self.performance      =performance.performance(aircraft)
#        self.drag             =drag.Analysis(aircraft)

def get_mass(aircraft):
    return mass.generalAviationMass(aircraft)._totalMassList

def get_drag(aircraft):
    return drag.Analysis(aircraft)